<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>{$code == 200 || $code == 0 ? '成功，请稍后！' : '失败，正在跳转！'}</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta http-equiv="Access-Control-Allow-Origin" content="*">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="/static/plug/layui/css/layui.css" media="all">
</head>
<body>
<script src="/static/plug/layui/layui.js" charset="utf-8"></script>
<script type="text/javascript">
    layui.use('layer',function(){
        var layer = layui.layer;
        window.onload = function(){
            layer.msg("{$msg}",{icon: "{$code == 200 || $code == 0 ? 6 : 5}",shade:0.1});
        }
	    setTimeout(function(){
            {empty name="data.top"}
                location.href = "{$url}";
            {else /}
	            top.location.href = "{$url}";
            {/empty}
	    },1500);
    });
</script>
</body>
</html>